<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>社团信息</title>
    <link rel="stylesheet" href="__PUBLIC__/layui/css/layui.css"  media="all">
    <style>
        .layui-input-block input{
            width:250px;
        }

    </style>
</head>
<body>
    <form class="" action="#">
        <div class="layui-form-item">
            <label class="layui-form-label">用户昵称:</label>
            <div class="layui-input-block">
                <input id="nickname" type="text" name="nickname" class="layui-input" value="{$list.nickname}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">标题:</label>
            <div class="layui-input-block">
                <input id="title" type="text" name="title" class="layui-input" value="{$list.title}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">内容:</label>
            <div class="layui-input-block">
                <input id="content" type="text" name="content" class="layui-input" value="{$list.content}">
            </div>
        </div>
        <if condition="$list.type == 1">
            <div class="layui-form-item">
                <label class="layui-form-label">相关书籍:</label>
                <div class="layui-input-block">
                    <input id="xiangguanbook" type="text" name="xiangguanbook" class="layui-input" value="{$list.xiangguanbook}">
                </div>
            </div>
        </if>

        <if condition="$list.type == 4">
            <div class="layui-form-item">
                <label class="layui-form-label">文章类型:</label>
                <div class="layui-input-block">
                    <input id="wenzhangtype" type="text" name="wenzhangtype" class="layui-input" value="{$list.wenzhangtype}">
                </div>
            </div>
        </if>

        <if condition="$list.type != 3">
            <div class="layui-form-item">
                <label class="layui-form-label">点赞数目:</label>
                <div class="layui-input-block">
                    <input id="dianzan_num" type="text" name="dianzan_num" class="layui-input" value="{$list.dianzan_num}">
                </div>
            </div>
        </if>


        <div class="layui-form-item">
            <label class="layui-form-label">浏览数目:</label>
            <div class="layui-input-block">
                <input id="liulan_num" type="text" name="liulan_num" class="layui-input" value="{$list.liulan_num}">
            </div>
        </div>

        <!--<div class="layui-form-item">-->
            <!--<label class="layui-form-label">评论数目:</label>-->
            <!--<div class="layui-input-block">-->
                <!--<input id="original_price" type="text" name="original_price" class="layui-input" value="{$list.original_price}">-->
            <!--</div>-->
        <!--</div>-->
        <div class="layui-form-item">
            <label class="layui-form-label">图片信息:</label>
            <div class="layui-input-block">
                <img style = "width:100px;height:150px" src = "{$list.img1}"/>
                <img style = "width:100px;height:150px" src = "{$list.img2}"/>
                <img style = "width:100px;height:150px" src = "{$list.img3}"/>
                <img style = "width:100px;height:150px" src = "{$list.img4}"/>
                <img style = "width:100px;height:150px" src = "{$list.img5}"/>
                <img style = "width:100px;height:150px" src = "{$list.img6}"/>

            </div>
        </div>
        <!--<div class="layui-form-item">-->
            <!--<div class="layui-input-block">-->
                <!--<button id="updateGoods" class="layui-btn" lay-submit="" lay-filter="*">立即提交</button>-->
            <!--</div>-->
        <!--</div>-->
        <input id="id" type="hidden" value="{$list.id}">
    </form>
    <!-- 配置文件 -->
    <script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.config.js"></script>
    <!-- 编辑器源码文件 -->
    <script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.all.js"></script>
    <!-- 实例化编辑器 -->
    <script type="text/javascript">
        // var editor = UE.getEditor('container');
    </script>
    <script src="__PUBLIC__/layui/layui.js" charset="utf-8"></script>
    <script src="__PUBLIC__/js/jquery-1.11.1.min.js" charset="utf-8"></script>
    <script type="text/javascript">
        $(function(){

        });
    </script>
</body>
</html>